*{ padding:0; lmacccrgin:0;}
li {list-style: none;}
a {text-decoration: none;color: #333333;}
.px2rem(@name, @px){
    @{name}: @px / 75 * 1rem;
}

.webkit{
    display: -webkit-flex;
    display: -moz-flex;
}
.line-height(@arg){.px2rem(line-height, @arg);}
.font-size(@arg){.px2rem(font-size, @arg);}

.font(@fz,@color){
    .px2rem(font-size,@fz);
    color: @color;
}
.border-bottom(@px,@xian,@color){
    .px2rem(border-bottom-width,@px);
    border-bottom-style: @xian;
    border-bottom-color: @color;
}
.border-top(@px,@xian,@color){
    .px2rem(border-top-width,@px);
    border-top-style: @xian;
    border-top-color: @color;
}
.border(@px,@xian,@color){.px2rem(border-width,@px);border-style: @xian; border-color: @color;}

.padding-top(@top){.px2rem(padding-top, @top);}
.padding-right(@right){.px2rem(padding-right, @right);}
.padding-bottom(@bottom){.px2rem(padding-bottom, @bottom);}
.padding-left(@left){.px2rem(padding-left, @left);}

.padding(@top,@right,@bottom,@left){
   .px2rem(padding-top,@top);
   .px2rem(padding-right,@right);
   .px2rem(padding-bottom,@bottom);
   .px2rem(padding-left,@left);
}

.margin-top(@top){.px2rem(margin-top, @top);}
.margin-right(@right){.px2rem(margin-right, @right);}
.margin-bottom(@bottom){.px2rem(margin-bottom, @bottom);}
.margin-left(@left){.px2rem(margin-left, @left);}

.margin(@top,@right,@bottom,@left){
   .px2rem(margin-top,@top);
   .px2rem(margin-right,@right);
   .px2rem(margin-bottom,@bottom);
   .px2rem(margin-left,@left);
}
body, html {
    width: 100%;
    height: 100%;
    background: #f2f2f2;
    .px2rem(min-height,1305);
}


.section_one {
    width: 100%;
    position: relative;  
    .webkit();
    .line-height(88);
    .px2rem(height,88);
    border-bottom: 1px solid #d2d2d2;
    justify-content: center;
    align-items: center;
    background: #f8f8f8;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    .left{
        flex: 1;
        .padding-left(33);
        .padding-top(28);
        img {
            .px2rem(width,47);
            .px2rem(height,34);
        }
    }
    .center{
        flex: 1;
        text-align: center;
        .font-size(31);
    }
    .right{
        flex: 1;
        text-align: right;
        .padding-right(40);
    }
}
article {
    overflow-y: auto; 
     
    .detail_message {
        width: 100%;
        border-top: 1px solid #CCCCCC;
        border-bottom: 1px solid #CCCCCC;
        ul{
            background: #FFFFFF;
            .padding-left(20);
            li {
                .webkit();
                .px2rem(height,86);
                border-bottom: 1px solid #CCCCCC;
                align-items: center;
                input {
                    flex: 1;
                    border: none;
                    outline: none;
                }
//              &.shengshi {
//                  span {
//                      display: inline-block;
//                      .px2rem(width,13);
//                      .px2rem(height,23);
//                      background: url(../img/youjiantou.png) no-repeat right center;
//                  }
//              }
            }
            .shengshi {
                .padding-right(26);
                    span {
                        display: inline-block;
                        .px2rem(width,13);
                        .px2rem(height,23);
                        
                        background: url(../img/youjiantou.png) no-repeat right center;
                    }
                }
            .none {
                border-bottom: none;
            }    
        }
    }
    .default {
        .webkit();
        .px2rem(height,88);
        .margin-top(15);
        background: #FFFFFF;
        align-items: center;
        .circle {
            .px2rem(width,90);
            text-align: center;
            img {
                .px2rem(width,44);
                .px2rem(height,44);
            }
        }
        .address {
            flex: 1;
            .font(28,#333333);
        }
    }
}

.footer {
    width: 100%;
    .webkit();
    .px2rem(height,98);
    background: #FFFFFF;
    position: fixed;
    bottom: 0;
    left: 0;
    align-items: center;
    .padding-left(20);
    .padding-right(20);
    border-top: 1px solid #CCCCCC;
    .save {
        .margin-right(78);
        .px2rem(width,310);
        .px2rem(height,75);
        background: red;
        border: 1px solid red;
        .font(31,white);
        text-align: center;
        .line-height(75);
        border-radius: 4px;
    }
    .delete {
        .px2rem(width,310);
        .px2rem(height,75);
        background: white;
        border: 1px solid #333333;
        .font(31,black);
        text-align: center;
        .line-height(75);
        border-radius: 4px;
    }
}
.tanchuang{
    position: absolute;
    .px2rem(top,88);
    right: 0;
    display: none;
    ul{
        .px2rem(width,100);
        .px2rem(height,200);
        border: 1px solid #000000;
        li{
           .px2rem(height,50);
           color: #FFFFFF; 
           text-align: center;
           .px2rem(line-height,50);
           background: #000000; 
        }
        .active{
            background: #ccc;
            color:#000;
        }
    }
    
} 












